FROM tomcat:9.0
LABEL maintainer="fujun <fujun@newcapec.net>"
ADD target/news.war     /usr/local/tomcat/webapps/news.war
EXPOSE 8080
ENTRYPOINT ["/usr/local/tomcat/bin/catalina.sh","run"]